home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Mac Game Programming Gurus / TricksOfTheMacGameProgrammingGurus.iso / More Source / C⁄C++ / picture / pict.h < prev    next >
Text File  |  1993-09-23  |  773b  |  37 lines

  1. //    Copyright 1993 Ralph Gonzalez
  2.  
  3. /*
  4. *    FILE:        pict.h
  5. *    AUTHOR:        R. Gonzalez
  6. *    CREATED:    November 7, 1990
  7. *
  8. *    Defines generic pict application class.  All picture applications
  9. *    should descend from this class.
  10. */
  11.  
  12. # ifndef    pict_h
  13. # define    pict_h
  14.  
  15. # include    "class.h"
  16. # include    "screen.h"
  17. # include    "backdrop.h"
  18.  
  19. /******************************************************************
  20. *   generic pict application - derived classes should add one or
  21. *    more cameras, projectors, and segments
  22. ******************************************************************/
  23. class    Generic_Pict:public Generic_Class
  24. {
  25. protected:
  26.     Generic_Screen        *screen;
  27.     
  28. private:
  29.     Backdrop_Projector    *backdrop;
  30.  
  31. public:
  32.     Generic_Pict(void);
  33.     virtual void        run(void);
  34.     virtual                ~Generic_Pict(void);
  35. };
  36.  
  37. # endif